package com.smile.stream.pojo;



/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2021/10/8 16:40
 */

public class Person {
    public Person(Integer id,String account,String name,Integer age,Integer sex) {
        this.id = id;
        this.account = account;
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    /**
     * id
     */
    private Integer id;
    /**
     *  账号
     */
    private String account;
    /**
     * 名称
     */
    private String name;
    /**
     * 年龄
     */
    private Integer age;
    /**
     *性别，0男 1 女
     */
    private Integer sex;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                '}';
    }
}
